package Lecel_five;

public class Test {
    public static void main(String[] args) {
        new Tiger(4,2,"食肉动物","羊").eat();
        new Pecker(2, 1, "食肉动物","昆虫").eat();
        new Giraffe(4, 2, "食肉动物","树叶").eat();
        new Rabbit(4, 1, "食草动物","狗尾草").eat();
    }
}
